﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Frame.aspx.cs" Inherits="FrameWork.web.Module.IntegralMS.IntegralMS.InteralField.Frame" %>
<html>
<head>
    <title>中华人民共和国 </title>
    <style type="text/css">
        .navPoint
        {
            font-family: Webdings;
            font-size: 9pt;
            color: white;
            cursor: pointer;
        }
        p
        {
            font-size: 9pt;
        }
        
        .font_size
        {
            font-family: "Verdana" , "Arial" , "Helvetica" , "sans-serif";
            font-size: 12px;
            font-weight: normal;
            font-variant: normal;
            text-transform: none;
        }
    </style>
</head>
<body scroll="no" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onunload="javascript:return window_onunload();"
    onload="javascript:return window_onload();">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" align="center">
        <tr>
            <td id="frmTitle" name="frmTitle" nowrap valign="middle" align="center" height="100%"
                style="border-right: 1px solid #000000">
                <iframe name="leftbody" style="height: 100%; visibility: inherit; width: 198; z-index: 2"
                    scrolling="auto" frameborder="0" src="CatIndex.aspx"></iframe>
            </td>
            <td style="width: 10pt" bgcolor="#7898A8" width="10" title="关闭/打开左栏" class="navPoint">
                <table border="0" cellpadding="0" cellspacing="0" width="11" height="100%" align="right">
                    <tr>
                        <td valign="middle" align="right" style="background-color: #FFFFFF; border-right: 1px solid #C7C5D9;">
                            <img border="0" src="<%=Page.ResolveClientUrl("~/images/Menu/close.gif")%>" id="menuimg"
                                alt="隐藏左栏" onmouseover="javascript: menuonmouseover();" onmouseout="javascript: menuonmouseout();"
                                onclick="javascript:switchSysBar()" style="cursor: hand" width="11" height="76">
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 100%">
                <iframe src="GroupList.aspx" name="mainbody" style="height: 100%; visibility: inherit;
                    width: 100%; z-index: 1" scrolling="auto" frameborder="0"></iframe>
            </td>
        </tr>
    </table>
</body>
</html>
<script language="JavaScript">

function switchSysBar(){

 	if (document.all("frmTitle").style.display=="none") {
		document.all("frmTitle").style.display=""
		menuimg.src="<%=Page.ResolveClientUrl("~/images/Menu/open.gif")%>";
		menuimg.alt="隐藏左栏"
		}
	else {
		document.all("frmTitle").style.display="none"
		menuimg.src="<%=Page.ResolveClientUrl("~/images/Menu/close.gif")%>";
		menuimg.alt="开启左栏"
	 }
	 
	 

}

 function menuonmouseover(){
 		if (document.all("frmTitle").style.display=="none") {
 		menuimg.src="<%=Page.ResolveClientUrl("~/images/Menu/open_on.gif")%>";
 		}
 		else{
 		menuimg.src="<%=Page.ResolveClientUrl("~/images/Menu/close_on.gif")%>";
 		}
 }
 function menuonmouseout(){
 		if (document.all("frmTitle").style.display=="none") {
 		menuimg.src="<%=Page.ResolveClientUrl("~/images/Menu/open.gif")%>";
 		}
 		else{
 		menuimg.src="<%=Page.ResolveClientUrl("~/images/Menu/close.gif")%>";
 		}
 }




function window_onunload() {

if (parent.document.all("frmTitle")!=null)
{
		parent.document.all("frmTitle").style.display=""
		parent.menuimg.src="<%=Page.ResolveUrl("~/images/Menu/close.gif")%>";
		parent.menuimg.alt="隐藏左栏"
}
}

function window_onload() {
if (parent.document.all("frmTitle")!=null)
{
		parent.document.all("frmTitle").style.display="none"
		parent.menuimg.src="<%=Page.ResolveUrl("~/images/Menu/open.gif")%>";
		parent.menuimg.alt="开启左栏"
		}
}
</script>
